package com.ds.smartstudio.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ds.smartstudio.entity.Device;
import com.ds.smartstudio.controller.DTO.SearchValues;

import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yangsf
 * @since 2022-07-02 10:42:24
 */
public interface DeviceService extends IService<Device> {
    List<Object> devicePage(int page, int pageSize, String name);

    Integer selectTotalByName(String name);

    Boolean disabled(Device device);

    Boolean change(Device device);

    List<String> macs();

    List<Device> tempDevice(Integer id);

    HashSet<String> selectAreaIDByDeviceTypeID(Integer id);


    List<Object> searchDevice(SearchValues searchValues);

    List<Object> getList(int page, int pageSize,String name);


}
